import  {configureStore}  from "@reduxjs/toolkit"
import counterReducer from "./modules/counter"
import homeReducer from "./modules/home"

// redux-thunk   redux-devtool  自动集成这两个中间件
const store = configureStore({
    reducer:{
        counter:counterReducer,
        home: homeReducer
    },
    devTools:true // 是否配置devTool工具，默认为true
})


export default store
